function p_staffDetailCheck() {
    // var p_staffDetailForm = document.getElementById("p_staffDetailForm");
    var estateId = document.getElementById("estateId").value;
    var buildId = document.getElementById("buildId").value;
    var roomId = document.getElementById("roomId").value;
    var bedId = document.getElementById("bedId").value;
    // 只有所有的Id都是 “null” “” 数字 三种情况可以通过 （获取的页面上的null是字符串形式“null”）
    var status = false;
    if (estateId == "null" || estateId == "" || !isNaN(Number(estateId))) {
        status = true;
    } else {
        alert("小区编码错误");
        return status;
    }

    if (buildId == "null" || buildId == "" || !isNaN(Number(buildId))) {
        status = true;
    } else {
        alert("楼栋编码错误");
        return false;
    }

    if (roomId == "null" || roomId == "" || !isNaN(Number(roomId))) {
        status = true;
    } else {
        alert("房间编码错误");
        return false;
    }

    if (bedId == "null" || bedId == "" || !isNaN(Number(bedId))) {
        status = true;
    } else {
        alert("铺位编码错误");
        return false;
    }
    return status;
}